#include <deCamera.hpp>
Inheritance diagram for IdeCamera:

Public Member Functions | |
| virtual long | Release ()=0 |
| deletes the object | |
| virtual void | SetWindow (HWND window)=0 |
| Match the camera with a window handle. Multiple cameras may share a window handle. | |
| virtual void | SetRect (deRect rect)=0 |
| Set the client rect of the camera's viewport, which the scene will be rendered into. | |
| virtual void | SetFOV (deDouble Degrees)=0 |
| Set the horizontal Field-of-View of the camera, in degrees. | |
| virtual void | SetScreenAspect (long PixelWidth, long PixelHeight, deDouble AspectRatio)=0 |
| Set the screen aspect ratio (AspectRatio = 4/3 or 16/9, defaults to 4/3). | |
| virtual void | SetClip (deDouble Near, deDouble Far)=0 |
| Set the near and far clip planes of the camera's viewport. | |
| virtual void | FogEnable (deBoolean Enable)=0 |
| virtual void | SetFog (deFloat Near, deFloat Far, deARGB Color, deBoolean RangeFog=(DE_FALSE))=0 |
| virtual void | SetOrthoWidth (deDouble Width)=0 |
| Set the width of the camera, if it will be an orthographic projection. | |
| virtual void | EnableOrtho (deBoolean OrthoEnable)=0 |
| Enable or disable an orthographic (parallel) projection mode. | |
| virtual deBoolean | BuildRootFrustum (IdePlaneFrustum *pFrustum)=0 |
| Build a frustum from this camera based on its rect and transform. | |
| virtual deVec3d | ScreenPointToWorldVec (int x, int y, deVec3d *StartPosition)=0 |
| virtual deBoolean | WorldPosToScreenPos (const deVec3d &pos, int &x, int &y)=0 |
| Transforms a 3D world position into an (x,y) pair on the screen. | |
| virtual deBoolean | FrustumRect (const IdePlaneFrustum *pFrustum, deRect &ScreenRect)=0 |
| virtual HWND | GetWindow ()=0 |
| Retrieve the associated window handle. | |
| virtual deRect | GetRect ()=0 |
| Retrieve the screenrect the camera is using. | |
| virtual deDouble | GetFOV ()=0 |
| Retrieve the horizontal Field-of-View of the camera, in degrees. | |
| virtual deDouble | GetFOVy (deDouble &Aspect)=0 |
| virtual deDouble | GetNearClip ()=0 |
| Retrieve the near clip plane distance. | |
| virtual deDouble | GetFarClip ()=0 |
| Retrieve the far clip plane distance. | |
| virtual deDouble | GetOrthoWidth ()=0 |
| Retrieve the orthogrpahic width of the camera. | |
| virtual deBoolean | IsOrtho ()=0 |
| virtual deBoolean | GetFog (deFloat &Near, deFloat &Far, deARGB &Color, deBoolean &RangeFog)=0 |
| virtual void | LockAspect (deDouble Aspect)=0 |
| virtual deTransformInfo & | Position ()=0 |
Protected Member Functions | |
| virtual | ~IdeCamera (void) |
|
|
|
|
|
Build a frustum from this camera based on its rect and transform.
Implemented in deCamera. |
|
|
Enable or disable an orthographic (parallel) projection mode.
Implemented in deCamera. |
|
|
Implemented in deCamera. |
|
||||||||||||
|
Clips a screen rect to the input frustum
Implemented in deCamera. |
|
|
Retrieve the far clip plane distance.
Implemented in deCamera. |
|
||||||||||||||||||||
|
Implemented in deCamera. |
|
|
Retrieve the horizontal Field-of-View of the camera, in degrees.
Implemented in deCamera. |
|
|
Retrieve the vertical Field-of-View of the camera, in radians
Implemented in deCamera. |
|
|
Retrieve the near clip plane distance.
Implemented in deCamera. |
|
|
Retrieve the orthogrpahic width of the camera.
Implemented in deCamera. |
|
|
Retrieve the screenrect the camera is using.
Implemented in deCamera. |
|
|
Retrieve the associated window handle.
Implemented in deCamera. |
|
|
Tell whether the camera is using an orthographic projection or not
Implemented in deCamera. |
|
|
Used to lock the aspect of a camera in order to cause a distorted image to render. The return value from GetFOVy will be unaffected by the Aspect actually fed to it.
Implemented in deCamera. |
|
|
The current transformation of the camera
Implemented in deCamera. |
|
|
deletes the object
Implemented in deCamera. |
|
||||||||||||||||
|
Retrieve a vector in world-space corresponding to a screen position.
Implemented in deCamera. |
|
||||||||||||
|
Set the near and far clip planes of the camera's viewport.
Implemented in deCamera. |
|
||||||||||||||||||||
|
Implemented in deCamera. |
|
|
Set the horizontal Field-of-View of the camera, in degrees.
Implemented in deCamera. |
|
|
Set the width of the camera, if it will be an orthographic projection.
Implemented in deCamera. |
|
|
Set the client rect of the camera's viewport, which the scene will be rendered into.
Implemented in deCamera. |
|
||||||||||||||||
|
Set the screen aspect ratio (AspectRatio = 4/3 or 16/9, defaults to 4/3).
Implemented in deCamera. |
|
|
Match the camera with a window handle. Multiple cameras may share a window handle.
Implemented in deCamera. |
|
||||||||||||||||
|
Transforms a 3D world position into an (x,y) pair on the screen.
Implemented in deCamera. |
1.3-rc3